package kr.hkit.powerjava.s;

class Employee {

	private String name;// 이름
	private String Tel;// 전화번호
	private int won;// 연봉
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTel() {
		return Tel;
	}
	public void setTel(String tel) {
		Tel = tel;
	}
	public int getWon() {
		return won;
	}
	public void setWon(int won) {
		this.won = won;
	}
	@Override
	public String toString() {
		return "직원 이름 : " + name + ", 전화번호 : " + Tel + ", 연봉 : " + won + "만원";
	}

	
}

public class EmployeeTest {
	public static void main(String[] args) {
		Employee e = new Employee();
		
		e.setName("정영록");
		e.setTel("010.0000.0000");
		e.setWon(5000);
		System.out.println(e.toString());
		
	}
}
